home *** CD-ROM | disk | FTP | other *** search
- program PROG1;
-
- var
- A, B : INTEGER;
-
- procedure P;
-
- var
- A : INTEGER;
-
- procedure P1;
-
- var
- B, C : INTEGER;
-
- begin
- A := 4;
- C := 5;
- WRITELN(A);
- WRITELN(C); (* DUMP6 *)
- end;
-
- procedure P2;
-
- procedure P3;
-
- var
- C : array[0..5] of INTEGER;
-
- procedure P4;
-
- begin
- C[3] := 6; (* DUMP5 *)
- P1
- end; (* P4 *)
-
- begin
- (* DUMP4 *)
- P4
- end; (* P3 *)
-
- begin
- (* DUMP3 *)
- P3
- end; (* P2 *)
-
- begin
- (* DUMP2 *)
- P2
- end; (* P *)
-
- begin
- (* DUMP1 *)
- P
- end. (* PROG1 *)